import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import * as echarts from 'echarts'// 引入echarts
// import "lib-flexible"

const app = createApp(App)
app.config.globalProperties.$echarts = echarts // 全局挂载echarts
app.config.globalProperties.$router = router

app.use(createPinia())
app.use(router)
app.use(ElementPlus)
app.mount('#app')
